package com.shop.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shop.pojo.LdbzIndexRecommendAd;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LdbzIndexRecommendAdMapper extends BaseMapper<LdbzIndexRecommendAd> {
    List<LdbzIndexRecommendAd> getIndexRecommendAdPage(LdbzIndexRecommendAd entity, int start, int limit);
    Long countByEntity(LdbzIndexRecommendAd entity);
    LdbzIndexRecommendAd selectByKey(Long id);
    int updateByKey(LdbzIndexRecommendAd entity);
    List<LdbzIndexRecommendAd> selectByEntity(@Param("entity")LdbzIndexRecommendAd entity , @Param("start")int start , @Param("limit")int limit);
}
